#!/usr/bin/env bash

set -e

DIR=$(dirname $(realpath "$0"))

. ./.direnv/bin/pid.sh

cd $DIR

#配置编译时环境变量
echo 'export default 1' > src/config/dev.js

. script/config.sh dev

./script/platform_arch.sh

npm run dev

#npx concurrently --kill-others "coffee -o src -mwc coffee" "yarn dev"
